<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>box-sizing</title>
    <style>
        .box{
            width: 600px;
            border: 1px solid red;
            font-size: 0;
        }
        img{
            width: 150px;
            height: 150px;
            border: 1px solid red;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./img/fengche.png" alt="">
        <img src="./img/fengche.png" alt="">
        <img src="./img/fengche.png" alt="">
        <img src="./img/fengche.png" alt="">
    </div>
</body>
</html>